<?php
define('ROOT_PATH', dirname($_SERVER['SCRIPT_FILENAME']) . '/');
$basename = basename($_SERVER['SCRIPT_FILENAME']);
$basename = explode('.',$basename );
define('CURSCRIPT', reset($basename));
include ROOT_PATH.'inc/class/application.class.php';

application::init();
$get = $_POST;
$m = $get['m'];
include_once libfile('action/games');
$games = new games();

if ('gamelist' == $m) {
    $games->gamelist();
}

if ('gamelist' == $m) {
    $games->gamelist();
}else if('regdate_member'== $m){
$games->regdate_member();
}else if('usedgold'== $m){
    $games->usedgold();
}else if('allowplay'== $m){
    $games->allowplay();
}else if('game_money'== $m){
    $games->game_money();
}


?>
